package com.frame.app.core.rms.model;

import com.frame.common.db.MyBatisModel;

import com.frame.app.core.rms.mybatis.SystemMenuMapper;

/**
 * system_menu's model.
 *
 * @author <a href="mailto:chenxilongno1@163.com">chen</a>
 * 
 * @version 1.0
 * 
 * @since 2015-08-04 15:34:00
 */
public class SystemMenu extends MyBatisModel<SystemMenu,SystemMenuMapper>{

private static final long serialVersionUID = 1L;

public SystemMenu() {
	setMapperClass(SystemMenuMapper.class);
}

	//1，表示为菜单  2，表示为按钮
	private int menuIs;
	//最后修改人
	private String updatePerson;
	//图标
	private String icon;
	//备注
	private String remark;
	//是否有效
	private int status;
	//描述
	private String descript;
	//层次，只会有1、2、3、4、5';
	private int layer;
	//
	private int pid;
	//
	private String code;
	//
	private int id;
	//菜单所属系统
	private int system;
	//链接此菜单的参数
	private String parameter;
	//最后修改时间
	private java.util.Date updateTime;
	//菜单名称
	private String name;
	//响应此菜单的action ，只有此菜单作为末级菜单时才填写
	private String action;
	//排列次序
	private int seq;
	//0,不是根结点1，是根结点
	private int rootIs;
	//对应的方法
	private String method;
	//是否有子结点
	private int haveSub;

	public int getMenuIs() {
    	return this.menuIs;
    }
    
	public void setMenuIs(int menuIs) {
    	this.menuIs = menuIs;
    }   
	public String getUpdatePerson() {
    	return this.updatePerson;
    }
    
	public void setUpdatePerson(String updatePerson) {
    	this.updatePerson = updatePerson;
    }   
	public String getIcon() {
    	return this.icon;
    }
    
	public void setIcon(String icon) {
    	this.icon = icon;
    }   
	public String getRemark() {
    	return this.remark;
    }
    
	public void setRemark(String remark) {
    	this.remark = remark;
    }   
	public int getStatus() {
    	return this.status;
    }
    
	public void setStatus(int status) {
    	this.status = status;
    }   
	public String getDescript() {
    	return this.descript;
    }
    
	public void setDescript(String descript) {
    	this.descript = descript;
    }   
	public int getLayer() {
    	return this.layer;
    }
    
	public void setLayer(int layer) {
    	this.layer = layer;
    }   
	public int getPid() {
    	return this.pid;
    }
    
	public void setPid(int pid) {
    	this.pid = pid;
    }   
	public String getCode() {
    	return this.code;
    }
    
	public void setCode(String code) {
    	this.code = code;
    }   
	public int getId() {
    	return this.id;
    }
    
	public void setId(int id) {
    	this.id = id;
    }   
	public int getSystem() {
    	return this.system;
    }
    
	public void setSystem(int system) {
    	this.system = system;
    }   
	public String getParameter() {
    	return this.parameter;
    }
    
	public void setParameter(String parameter) {
    	this.parameter = parameter;
    }   
	public java.util.Date getUpdateTime() {
    	return this.updateTime;
    }
    
	public void setUpdateTime(java.util.Date updateTime) {
    	this.updateTime = updateTime;
    }   
	public String getName() {
    	return this.name;
    }
    
	public void setName(String name) {
    	this.name = name;
    }   
	public String getAction() {
    	return this.action;
    }
    
	public void setAction(String action) {
    	this.action = action;
    }   
	public int getSeq() {
    	return this.seq;
    }
    
	public void setSeq(int seq) {
    	this.seq = seq;
    }   
	public int getRootIs() {
    	return this.rootIs;
    }
    
	public void setRootIs(int rootIs) {
    	this.rootIs = rootIs;
    }   
	public String getMethod() {
    	return this.method;
    }
    
	public void setMethod(String method) {
    	this.method = method;
    }   
	public int getHaveSub() {
    	return this.haveSub;
    }
    
	public void setHaveSub(int haveSub) {
    	this.haveSub = haveSub;
    }   
	@Override
	public String toString() {
		return     menuIs   +"---"+   updatePerson   +"---"+   icon   +"---"+   remark   +"---"+   status   +"---"+   descript   +"---"+   layer   +"---"+   pid   +"---"+   code   +"---"+   id   +"---"+   system   +"---"+   parameter   +"---"+   updateTime   +"---"+   name   +"---"+   action   +"---"+   seq   +"---"+   rootIs   +"---"+   method   +"---"+   haveSub ;
	}

}